package com.vogue.supplymall.common.domain.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * The type Search cart info.
 * 购物车前后端交互接口用
 * add、update、remove
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-01-10
 */
public class EditCartInfo implements Serializable {

    /**
     * 店铺id
     */
    private Long shopId;
    /**
     * 商品id
     */
    private Long productId;
    /**
     * 商品名称
     */
    private String pname;
    /**
     * 商品计划id
     */
    private Long attrplanid;
    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * 订单项目ID
     */
    private Long orderItemId;
    /**
     * 订单项目商品ID
     */
    private Long orderItemProductId;
    /**
     * 订单项目商品数量
     */
    private Integer itemQuantity;
    /**
     * 无效标志
     */
    private Integer invalidFlag;
    /**
     * 编辑标志 1:删除商品 2：移动到关注 3：批量修改仓库
     */
    private Integer editFlag;
    /**
     * 登录用户的ID
     */
    private Long loginId;
    /**
     * 登录用户的系统唯一注册号
     */
    private Long syscodeid;
    /**
     * 机构id
     */
    private Long organid = 0L;
    /**
     * 仓库ID
     */
    private Long storageId = 0L;
    /**
     * 仓库
     */
    private String storage = "";
    /**
     * 登录用户手机
     */
    private String tel;
    /**
     * 卖家店铺的matchid
     */
    private String s_matchid;
    /**
     * 买家仓库的matchid
     */
    private String b_matchid;

    /**
     * 删除购物车商品的id列表
     */
    private List<Map<String, Object>> removeId = new ArrayList<>();

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getInvalidFlag() {
        return invalidFlag;
    }

    public void setInvalidFlag(Integer invalidFlag) {
        this.invalidFlag = invalidFlag;
    }

    public Integer getEditFlag() {
        return editFlag;
    }

    public void setEditFlag(Integer editFlag) {
        this.editFlag = editFlag;
    }

    public Long getLoginId() {
        return loginId;
    }

    public void setLoginId(Long loginId) {
        this.loginId = loginId;
    }

    public Long getSyscodeid() {
        return syscodeid;
    }

    public void setSyscodeid(Long syscodeid) {
        this.syscodeid = syscodeid;
    }

    public Long getOrganid() {
        return organid;
    }

    public void setOrganid(Long organid) {
        this.organid = organid;
    }

    public Long getStorageId() {
        return storageId;
    }

    public void setStorageId(Long storageId) {
        this.storageId = storageId;
    }

    public String getStorage() {
        return storage;
    }

    public void setStorage(String storage) {
        this.storage = storage;
    }

    public Long getAttrplanid() {
        return attrplanid;
    }

    public void setAttrplanid(Long attrplanid) {
        this.attrplanid = attrplanid;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Long getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    public Long getOrderItemProductId() {
        return orderItemProductId;
    }

    public void setOrderItemProductId(Long orderItemProductId) {
        this.orderItemProductId = orderItemProductId;
    }

    public List<Map<String, Object>> getRemoveId() {
        return removeId;
    }

    public void setRemoveId(List<Map<String, Object>> removeId) {
        this.removeId = removeId;
    }

    public Integer getItemQuantity() {
        return itemQuantity;
    }

    public void setItemQuantity(Integer itemQuantity) {
        this.itemQuantity = itemQuantity;
    }

    public String getS_matchid() {
        return s_matchid;
    }

    public void setS_matchid(String s_matchid) {
        this.s_matchid = s_matchid;
    }

    public String getB_matchid() {
        return b_matchid;
    }

    public void setB_matchid(String b_matchid) {
        this.b_matchid = b_matchid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }
}
